{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\richetta\Dropbox\Violence in India\Drafts\Causal Paper\BJPS Submission\Revision 2\replication material\log-appendix-tables.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}13 Jun 2022, 08:16:27

{com}. 

. clear

. do "C:\Users\richetta\AppData\Local\Temp\STD289c_000000.tmp"
{txt}
{com}. *===================================================================*
. *                                                                                                                                       *
. *                    Shaping Electoral Outcomes :                   *
. *   Intra and Anti-systemic Violence in Indian Assembly Elections   *
. *          Imke Harbers, Cécile Richetta, Enrike van Wingerden      *
. *                                                                                                                                       *
. *===================================================================*
. 
. *===================================================================*
. *                               REPLICATION FILE 3 : APPENDIX TABLES                            *
. *===================================================================*
. 
. global dir "C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material" 
{txt}
{com}. use "$dir/data.dta"
{txt}(Written by R.              )

{com}. 
. xtset SHF_AC_ID Sequence
{res}{txt}{col 8}panel variable:  {res}SHF_AC_ID (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}Sequence, 2 to 8, but with gaps
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. 
. * APPENDIX A. Descriptive Statistics
.         * Table 1. Descriptive Statistics of the Variables 
.         sum Count2PIntr Count2PIl Count3 Count3Vl Count2PNB Count2PNBl ///
>         state_ac_align Turnout_Percentage incumb_vote_shr ///
>         Margin_Percentage lit ele urb rugg_std Constituency_Type

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}Count2PIntr {c |}{res}     18,982    .0334527    .1798204          0          1
{txt}{space 3}Count2PIl {c |}{res}     18,982    .0374039    .2095456          0          2
{txt}{space 6}Count3 {c |}{res}     18,982    .0162786    .1265481          0          1
{txt}{space 4}Count3Vl {c |}{res}     18,982    .0193868    .1669218          0          3
{txt}{space 3}Count2PNB {c |}{res}     18,982    .0372458    .1893686          0          1
{txt}{hline 13}{c +}{hline 57}
{space 2}Count2PNBl {c |}{res}     18,982    .0429881    .2294067          0          2
{txt}state_ac_a~n {c |}{res}     18,982     .190865    .3929933          0          1
{txt}Turnout_Pe~e {c |}{res}     18,982    62.33205     12.7083          0      97.87
{txt}incumb_vot~r {c |}{res}     16,851     32.8624    18.17448          0      99.37
{txt}Margin_Per~e {c |}{res}     18,982    13.68588    12.33886          0       99.1
{txt}{hline 13}{c +}{hline 57}
{space 9}lit {c |}{res}     18,982    48.49063    15.02523   12.50314   85.53622
{txt}{space 9}ele {c |}{res}     18,982    47.86298    27.24235   3.195974   120.9409
{txt}{space 9}urb {c |}{res}     18,982    25.27863    18.04255   2.491835        100
{txt}{space 4}rugg_std {c |}{res}     18,962    46.77991    87.48776          0    1075.18
{txt}Constituen~e {c |}{res}     18,982    1.303867     .604206          1          3
{txt}
{com}. 
. * APPENDIX B. Alternative Specifications of “Table 2. Results Fixed Effects Analysis, Dependent Variable: Turnout (%)”
. * Table 1
.         * Model 1       
.         xtreg Turnout_Percentage i.Count2PIntr i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2Intra, fe 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    18,982
{txt}Group variable: {res}SHF_AC_ID{txt}{col 49}Number of groups{col 67}={col 69}{res}     3,486

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1237{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.2319{col 63}{txt}avg{col 67}={col 69}{res}       5.4
{txt}     overall = {res}0.1951{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}8{txt},{res}15488{txt}){col 67}={col 70}{res}   273.29
{txt}corr(u_i, Xb){col 16}= {res}0.1669{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}1.Count2PIntr {c |}{col 19}{res}{space 2}-2.490225{col 31}{space 2} .6222658{col 42}{space 1}   -4.00{col 51}{space 3}0.000{col 59}{space 4}-3.709939{col 72}{space 3}-1.270512
{txt}{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.314279{col 31}{space 2} .1787127{col 42}{space 1}    7.35{col 51}{space 3}0.000{col 59}{space 4} .9639808{col 72}{space 3} 1.664577
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0737199{col 31}{space 2} .0058055{col 42}{space 1}  -12.70{col 51}{space 3}0.000{col 59}{space 4}-.0850995{col 72}{space 3}-.0623404
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .2030679{col 31}{space 2} .0141105{col 42}{space 1}   14.39{col 51}{space 3}0.000{col 59}{space 4} .1754096{col 72}{space 3} .2307262
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0394678{col 31}{space 2} .0094293{col 42}{space 1}    4.19{col 51}{space 3}0.000{col 59}{space 4} .0209852{col 72}{space 3} .0579504
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0372254{col 31}{space 2} .0265348{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.0892367{col 72}{space 3} .0147859
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0578169{col 31}{space 2} .0080128{col 42}{space 1}    7.22{col 51}{space 3}0.000{col 59}{space 4} .0421108{col 72}{space 3}  .073523
{txt}{space 1}WIDisCount2Intra {c |}{col 19}{res}{space 2} 4.585603{col 31}{space 2}  .743244{col 42}{space 1}    6.17{col 51}{space 3}0.000{col 59}{space 4} 3.128758{col 72}{space 3} 6.042449
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 48.70079{col 31}{space 2} .7573243{col 42}{space 1}   64.31{col 51}{space 3}0.000{col 59}{space 4} 47.21634{col 72}{space 3} 50.18523
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.9074969
          {txt}sigma_e {c |} {res} 8.1131764
              {txt}rho {c |} {res} .54656657{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}
F test that all u_i=0: F({res}3485{txt}, {res}15488{txt}) = {res}2.72{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}.         eststo A
{txt}
{com}.         * Model 2
.         xtreg Turnout_Percentage i.Count3 i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag, fe 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    18,982
{txt}Group variable: {res}SHF_AC_ID{txt}{col 49}Number of groups{col 67}={col 69}{res}     3,486

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1943{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.3277{col 63}{txt}avg{col 67}={col 69}{res}       5.4
{txt}     overall = {res}0.2700{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}7{txt},{res}15489{txt}){col 67}={col 70}{res}   533.62
{txt}corr(u_i, Xb){col 16}= {res}0.2092{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}1.Count3 {c |}{col 19}{res}{space 2}-19.16547{col 31}{space 2} .5119166{col 42}{space 1}  -37.44{col 51}{space 3}0.000{col 59}{space 4}-20.16889{col 72}{space 3}-18.16205
{txt}{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.146204{col 31}{space 2} .1713073{col 42}{space 1}    6.69{col 51}{space 3}0.000{col 59}{space 4} .8104217{col 72}{space 3} 1.481987
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0618319{col 31}{space 2} .0055754{col 42}{space 1}  -11.09{col 51}{space 3}0.000{col 59}{space 4}-.0727603{col 72}{space 3}-.0509035
{txt}{space 14}lit {c |}{col 19}{res}{space 2}  .166071{col 31}{space 2} .0133728{col 42}{space 1}   12.42{col 51}{space 3}0.000{col 59}{space 4} .1398587{col 72}{space 3} .1922833
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0567231{col 31}{space 2} .0089938{col 42}{space 1}    6.31{col 51}{space 3}0.000{col 59}{space 4} .0390941{col 72}{space 3} .0743521
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0483901{col 31}{space 2} .0254294{col 42}{space 1}   -1.90{col 51}{space 3}0.057{col 59}{space 4}-.0982347{col 72}{space 3} .0014544
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2}  .096542{col 31}{space 2} .0077091{col 42}{space 1}   12.52{col 51}{space 3}0.000{col 59}{space 4} .0814312{col 72}{space 3} .1116527
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 47.84414{col 31}{space 2} .7264089{col 42}{space 1}   65.86{col 51}{space 3}0.000{col 59}{space 4}  46.4203{col 72}{space 3} 49.26799
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.4931933
          {txt}sigma_e {c |} {res} 7.7792366
              {txt}rho {c |} {res} .54379094{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}
F test that all u_i=0: F({res}3485{txt}, {res}15489{txt}) = {res}2.81{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}.         eststo B
{txt}
{com}.         * Model 3
.         xtreg Turnout_Percentage i.Count2PIntr i.Count3 i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2Intra, fe 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    18,982
{txt}Group variable: {res}SHF_AC_ID{txt}{col 49}Number of groups{col 67}={col 69}{res}     3,486

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1954{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.3276{col 63}{txt}avg{col 67}={col 69}{res}       5.4
{txt}     overall = {res}0.2704{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}9{txt},{res}15487{txt}){col 67}={col 70}{res}   417.90
{txt}corr(u_i, Xb){col 16}= {res}0.2084{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}1.Count2PIntr {c |}{col 19}{res}{space 2}-2.711678{col 31}{space 2} .5963147{col 42}{space 1}   -4.55{col 51}{space 3}0.000{col 59}{space 4}-3.880524{col 72}{space 3}-1.542831
{txt}{space 9}1.Count3 {c |}{col 19}{res}{space 2}-19.24414{col 31}{space 2} .5180223{col 42}{space 1}  -37.15{col 51}{space 3}0.000{col 59}{space 4}-20.25952{col 72}{space 3}-18.22875
{txt}{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.136154{col 31}{space 2} .1713182{col 42}{space 1}    6.63{col 51}{space 3}0.000{col 59}{space 4} .8003503{col 72}{space 3} 1.471958
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0614899{col 31}{space 2} .0055729{col 42}{space 1}  -11.03{col 51}{space 3}0.000{col 59}{space 4}-.0724134{col 72}{space 3}-.0505664
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1651365{col 31}{space 2} .0135599{col 42}{space 1}   12.18{col 51}{space 3}0.000{col 59}{space 4} .1385575{col 72}{space 3} .1917155
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0575773{col 31}{space 2} .0090488{col 42}{space 1}    6.36{col 51}{space 3}0.000{col 59}{space 4} .0398407{col 72}{space 3}  .075314
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0496327{col 31}{space 2} .0254291{col 42}{space 1}   -1.95{col 51}{space 3}0.051{col 59}{space 4}-.0994767{col 72}{space 3} .0002114
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2}  .096623{col 31}{space 2}  .007749{col 42}{space 1}   12.47{col 51}{space 3}0.000{col 59}{space 4}  .081434{col 72}{space 3}  .111812
{txt}{space 1}WIDisCount2Intra {c |}{col 19}{res}{space 2} 2.323194{col 31}{space 2} .7148111{col 42}{space 1}    3.25{col 51}{space 3}0.001{col 59}{space 4} .9220807{col 72}{space 3} 3.724308
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 47.88592{col 31}{space 2} .7260359{col 42}{space 1}   65.96{col 51}{space 3}0.000{col 59}{space 4} 46.46281{col 72}{space 3} 49.30904
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.4911364
          {txt}sigma_e {c |} {res} 7.7744345
              {txt}rho {c |} {res} .54397713{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}
F test that all u_i=0: F({res}3485{txt}, {res}15487{txt}) = {res}2.80{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}.         eststo C
{txt}
{com}.         * Model 4
.         xtreg Turnout_Percentage i.Count2PNBl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2PNB, ///
>         fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1250                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.2283                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.1939                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    27.56
{txt}corr(u_i, Xb)  = {res}0.1637                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}Count2PNBl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-3.368113{col 31}{space 2} .7691616{col 42}{space 1}   -4.38{col 51}{space 3}0.000{col 59}{space 4}-4.881141{col 72}{space 3}-1.855085
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 3.221499{col 31}{space 2} 1.308796{col 42}{space 1}    2.46{col 51}{space 3}0.014{col 59}{space 4} .6469495{col 72}{space 3} 5.796049
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.320318{col 31}{space 2} .3474774{col 42}{space 1}    3.80{col 51}{space 3}0.000{col 59}{space 4} .6367909{col 72}{space 3} 2.003846
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} -.073477{col 31}{space 2} .0122582{col 42}{space 1}   -5.99{col 51}{space 3}0.000{col 59}{space 4}-.0975903{col 72}{space 3}-.0493637
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .2026234{col 31}{space 2} .0599126{col 42}{space 1}    3.38{col 51}{space 3}0.001{col 59}{space 4} .0847684{col 72}{space 3} .3204783
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0401743{col 31}{space 2} .0341614{col 42}{space 1}    1.18{col 51}{space 3}0.240{col 59}{space 4} -.027025{col 72}{space 3} .1073737
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0368895{col 31}{space 2} .0800144{col 42}{space 1}   -0.46{col 51}{space 3}0.645{col 59}{space 4} -.194287{col 72}{space 3} .1205079
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0577917{col 31}{space 2} .0383467{col 42}{space 1}    1.51{col 51}{space 3}0.133{col 59}{space 4}-.0176406{col 72}{space 3} .1332241
{txt}{space 3}WIDisCount2PNB {c |}{col 19}{res}{space 2} 5.366775{col 31}{space 2} 1.159369{col 42}{space 1}    4.63{col 51}{space 3}0.000{col 59}{space 4} 3.086164{col 72}{space 3} 7.647386
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 48.65344{col 31}{space 2} 2.355591{col 42}{space 1}   20.65{col 51}{space 3}0.000{col 59}{space 4} 44.01973{col 72}{space 3} 53.28716
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.9205783
          {txt}sigma_e {c |} {res} 8.1072751
              {txt}rho {c |} {res} .54765439{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo D
{txt}
{com}.         * Model 5 
.         xtreg Turnout_Percentage i.Count2PNBl i.Count3Vl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2PNB, ///
>         fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1978                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.3275                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.2710                                        {txt}max = {res}        7

                                                {txt}F({res}12{txt},{res}333{txt})          = {res}    23.19
{txt}corr(u_i, Xb)  = {res}0.2076                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}Count2PNBl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-3.207542{col 31}{space 2} .7649151{col 42}{space 1}   -4.19{col 51}{space 3}0.000{col 59}{space 4}-4.712217{col 72}{space 3}-1.702867
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 3.611907{col 31}{space 2}  1.34924{col 42}{space 1}    2.68{col 51}{space 3}0.008{col 59}{space 4} .9577985{col 72}{space 3} 6.266016
{txt}{space 17} {c |}
{space 9}Count3Vl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-18.65676{col 31}{space 2} 4.414487{col 42}{space 1}   -4.23{col 51}{space 3}0.000{col 59}{space 4}-27.34056{col 72}{space 3}-9.972965
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-22.26401{col 31}{space 2} 8.490107{col 42}{space 1}   -2.62{col 51}{space 3}0.009{col 59}{space 4}-38.96501{col 72}{space 3}-5.563003
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-25.38865{col 31}{space 2} 4.953226{col 42}{space 1}   -5.13{col 51}{space 3}0.000{col 59}{space 4}-35.13221{col 72}{space 3}-15.64509
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.149915{col 31}{space 2} .3125663{col 42}{space 1}    3.68{col 51}{space 3}0.000{col 59}{space 4} .5350612{col 72}{space 3} 1.764768
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0612923{col 31}{space 2} .0104931{col 42}{space 1}   -5.84{col 51}{space 3}0.000{col 59}{space 4}-.0819335{col 72}{space 3}-.0406511
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1652202{col 31}{space 2} .0531527{col 42}{space 1}    3.11{col 51}{space 3}0.002{col 59}{space 4} .0606628{col 72}{space 3} .2697776
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0583446{col 31}{space 2}  .031255{col 42}{space 1}    1.87{col 51}{space 3}0.063{col 59}{space 4}-.0031376{col 72}{space 3} .1198267
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0511664{col 31}{space 2} .0741957{col 42}{space 1}   -0.69{col 51}{space 3}0.491{col 59}{space 4}-.1971179{col 72}{space 3}  .094785
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0961078{col 31}{space 2} .0341111{col 42}{space 1}    2.82{col 51}{space 3}0.005{col 59}{space 4} .0290075{col 72}{space 3} .1632081
{txt}{space 3}WIDisCount2PNB {c |}{col 19}{res}{space 2} 2.440834{col 31}{space 2} 1.184549{col 42}{space 1}    2.06{col 51}{space 3}0.040{col 59}{space 4} .1106913{col 72}{space 3} 4.770976
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 47.89589{col 31}{space 2} 2.398413{col 42}{space 1}   19.97{col 51}{space 3}0.000{col 59}{space 4} 43.17794{col 72}{space 3} 52.61384
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.4918226
          {txt}sigma_e {c |} {res} 7.7637772
              {txt}rho {c |} {res}  .5446977{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo E
{txt}
{com}.         * Export full table 
.         esttab A B C D E ///
>         using "$dir/appendixBtable1.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 1. Left: Binary independent variables; Right: Non-boycott violence as independent variable ") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixBtable1.rtf"'})

{com}. 
. * APPENDIX C. 
. * Tabble 1 
.         * Model 1
.         xtreg Count2PIntr i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type, fe vce(cluster ECI_DT_NAME)
{txt}note: rugg_std omitted because of collinearity

Fixed-effects (within) regression               Number of obs      = {res}    18962
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3482

{txt}R-sq:  within  = {res}0.0137                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.0001                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.0010                                        {txt}max = {res}        7

                                                {txt}F({res}7{txt},{res}333{txt})           = {res}     3.41
{txt}corr(u_i, Xb)  = {res}-0.4928                        {txt}Prob > F           =    {res}0.0016

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}      Count2PIntr{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.0104717{col 31}{space 2} .0056073{col 42}{space 1}   -1.87{col 51}{space 3}0.063{col 59}{space 4}-.0215018{col 72}{space 3} .0005584
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0001622{col 31}{space 2} .0001815{col 42}{space 1}    0.89{col 51}{space 3}0.372{col 59}{space 4}-.0001947{col 72}{space 3} .0005192
{txt}{space 14}lit {c |}{col 19}{res}{space 2} -.004082{col 31}{space 2} .0008967{col 42}{space 1}   -4.55{col 51}{space 3}0.000{col 59}{space 4} -.005846{col 72}{space 3} -.002318
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0022097{col 31}{space 2}  .000541{col 42}{space 1}    4.08{col 51}{space 3}0.000{col 59}{space 4} .0011455{col 72}{space 3} .0032739
{txt}{space 14}urb {c |}{col 19}{res}{space 2}  .000883{col 31}{space 2} .0012611{col 42}{space 1}    0.70{col 51}{space 3}0.484{col 59}{space 4}-.0015977{col 72}{space 3} .0033638
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2}        0{col 31}{txt}  (omitted)
{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.0013096{col 31}{space 2} .0029388{col 42}{space 1}   -0.45{col 51}{space 3}0.656{col 59}{space 4}-.0070905{col 72}{space 3} .0044713
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-.0141109{col 31}{space 2} .0073915{col 42}{space 1}   -1.91{col 51}{space 3}0.057{col 59}{space 4}-.0286509{col 72}{space 3} .0004291
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}  .104291{col 31}{space 2} .0368126{col 42}{space 1}    2.83{col 51}{space 3}0.005{col 59}{space 4} .0318765{col 72}{space 3} .1767055
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .09468161
          {txt}sigma_e {c |} {res} .17763934
              {txt}rho {c |} {res} .22123721{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo A
{txt}
{com}.         * Model 2 
.         xtreg Count3 i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type, fe vce(cluster ECI_DT_NAME)
{txt}note: rugg_std omitted because of collinearity

Fixed-effects (within) regression               Number of obs      = {res}    18962
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3482

{txt}R-sq:  within  = {res}0.0049                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.0219                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.0063                                        {txt}max = {res}        7

                                                {txt}F({res}7{txt},{res}333{txt})           = {res}     2.16
{txt}corr(u_i, Xb)  = {res}-0.2362                        {txt}Prob > F           =    {res}0.0377

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}           Count3{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.0019987{col 31}{space 2} .0045922{col 42}{space 1}   -0.44{col 51}{space 3}0.664{col 59}{space 4} -.011032{col 72}{space 3} .0070346
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0005952{col 31}{space 2} .0001722{col 42}{space 1}    3.46{col 51}{space 3}0.001{col 59}{space 4} .0002564{col 72}{space 3} .0009341
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0004805{col 31}{space 2} .0004871{col 42}{space 1}   -0.99{col 51}{space 3}0.325{col 59}{space 4}-.0014388{col 72}{space 3} .0004777
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0005248{col 31}{space 2} .0003095{col 42}{space 1}    1.70{col 51}{space 3}0.091{col 59}{space 4}-.0000841{col 72}{space 3} .0011337
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0014829{col 31}{space 2} .0008652{col 42}{space 1}   -1.71{col 51}{space 3}0.087{col 59}{space 4} -.003185{col 72}{space 3} .0002191
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2}        0{col 31}{txt}  (omitted)
{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.0033451{col 31}{space 2}  .002902{col 42}{space 1}   -1.15{col 51}{space 3}0.250{col 59}{space 4}-.0090536{col 72}{space 3} .0023634
{txt}{space 14}ST  {c |}{col 19}{res}{space 2} -.017963{col 31}{space 2}  .013945{col 42}{space 1}   -1.29{col 51}{space 3}0.199{col 59}{space 4}-.0453943{col 72}{space 3} .0094683
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0460044{col 31}{space 2} .0245124{col 42}{space 1}    1.88{col 51}{space 3}0.061{col 59}{space 4}-.0022143{col 72}{space 3}  .094223
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .06492073
          {txt}sigma_e {c |} {res} .12305036
              {txt}rho {c |} {res} .21774544{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo B
{txt}
{com}.         * Export full table
.         esttab A B ///
>         using "$dir/appendixCtable1.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 1. Fixed effects model ") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixCtable1.rtf"'})

{com}. * Table 2
.         * Model 1
.         zip Count2NL i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -2635.667}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2501.3596}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-2430.2153}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-2398.3715}  
Iteration 4:{space 3}log pseudolikelihood = {res:  -2396.12}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2395.5825}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2395.5815}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2395.5815}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2395.5815}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2209.7174}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1972.3746}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-1826.3072}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-1813.7931}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res: -1791.795}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1770.2465}  (not concave)
Iteration 7:{space 3}log pseudolikelihood = {res:-1769.4017}  
Iteration 8:{space 3}log pseudolikelihood = {res:-1768.5106}  
Iteration 9:{space 3}log pseudolikelihood = {res:-1768.3005}  
Iteration 10:{space 2}log pseudolikelihood = {res:-1768.2708}  
Iteration 11:{space 2}log pseudolikelihood = {res:-1768.2451}  
Iteration 12:{space 2}log pseudolikelihood = {res:-1768.2393}  
Iteration 13:{space 2}log pseudolikelihood = {res:-1768.2381}  
Iteration 14:{space 2}log pseudolikelihood = {res:-1768.2379}  
Iteration 15:{space 2}log pseudolikelihood = {res:-1768.2378}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}       557
                                                {txt}Zero obs          = {res}    18,405

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res}  75238.05
{txt}Log pseudolikelihood = {res}-1768.238                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         Count2NL{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count2NL          {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.3376356{col 31}{space 2} .1297261{col 42}{space 1}   -2.60{col 51}{space 3}0.009{col 59}{space 4}-.5918941{col 72}{space 3}-.0833772
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0063178{col 31}{space 2} .0028177{col 42}{space 1}    2.24{col 51}{space 3}0.025{col 59}{space 4} .0007952{col 72}{space 3} .0118404
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0635609{col 31}{space 2}  .006522{col 42}{space 1}   -9.75{col 51}{space 3}0.000{col 59}{space 4}-.0763438{col 72}{space 3} -.050778
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0400676{col 31}{space 2} .0057958{col 42}{space 1}    6.91{col 51}{space 3}0.000{col 59}{space 4}  .028708{col 72}{space 3} .0514272
{txt}{space 14}urb {c |}{col 19}{res}{space 2} .0055062{col 31}{space 2} .0046042{col 42}{space 1}    1.20{col 51}{space 3}0.232{col 59}{space 4}-.0035178{col 72}{space 3} .0145302
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0003326{col 31}{space 2} .0008812{col 42}{space 1}    0.38{col 51}{space 3}0.706{col 59}{space 4}-.0013945{col 72}{space 3} .0020597
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}  -.04615{col 31}{space 2} .1045979{col 42}{space 1}   -0.44{col 51}{space 3}0.659{col 59}{space 4}-.2511582{col 72}{space 3} .1588582
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-.0530494{col 31}{space 2} .1769705{col 42}{space 1}   -0.30{col 51}{space 3}0.764{col 59}{space 4}-.3999051{col 72}{space 3} .2938064
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2} .3573569{col 31}{space 2} .4993848{col 42}{space 1}    0.72{col 51}{space 3}0.474{col 59}{space 4}-.6214192{col 72}{space 3} 1.336133
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 3.032706{col 31}{space 2} .2135278{col 42}{space 1}   14.20{col 51}{space 3}0.000{col 59}{space 4} 2.614199{col 72}{space 3} 3.451213
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-18.94997{col 31}{space 2}  .230074{col 42}{space 1}  -82.36{col 51}{space 3}0.000{col 59}{space 4} -19.4009{col 72}{space 3}-18.49903
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-1.564834{col 31}{space 2}  .426439{col 42}{space 1}   -3.67{col 51}{space 3}0.000{col 59}{space 4}-2.400639{col 72}{space 3}-.7290287
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-1.592049{col 31}{space 2} .5390761{col 42}{space 1}   -2.95{col 51}{space 3}0.003{col 59}{space 4}-2.648619{col 72}{space 3} -.535479
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2} -2.01635{col 31}{space 2} .6921766{col 42}{space 1}   -2.91{col 51}{space 3}0.004{col 59}{space 4}-3.372991{col 72}{space 3}-.6597088
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-17.71387{col 31}{space 2} .2572495{col 42}{space 1}  -68.86{col 51}{space 3}0.000{col 59}{space 4}-18.21807{col 72}{space 3}-17.20967
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-1.707792{col 31}{space 2} .4312826{col 42}{space 1}   -3.96{col 51}{space 3}0.000{col 59}{space 4}-2.553091{col 72}{space 3} -.862494
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2}-.4516568{col 31}{space 2} .7459105{col 42}{space 1}   -0.61{col 51}{space 3}0.545{col 59}{space 4}-1.913615{col 72}{space 3} 1.010301
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-2.556717{col 31}{space 2} .5334543{col 42}{space 1}   -4.79{col 51}{space 3}0.000{col 59}{space 4}-3.602268{col 72}{space 3}-1.511166
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-1.622305{col 31}{space 2}  .434842{col 42}{space 1}   -3.73{col 51}{space 3}0.000{col 59}{space 4} -2.47458{col 72}{space 3}-.7700306
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-.7523895{col 31}{space 2}  .616938{col 42}{space 1}   -1.22{col 51}{space 3}0.223{col 59}{space 4}-1.961566{col 72}{space 3} .4567867
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.413949{col 31}{space 2} .2216921{col 42}{space 1}    6.38{col 51}{space 3}0.000{col 59}{space 4} .9794404{col 72}{space 3} 1.848458
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-1.937678{col 31}{space 2} .5183993{col 42}{space 1}   -3.74{col 51}{space 3}0.000{col 59}{space 4}-2.953722{col 72}{space 3}-.9216344
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2} -.620466{col 31}{space 2} .3290267{col 42}{space 1}   -1.89{col 51}{space 3}0.059{col 59}{space 4}-1.265346{col 72}{space 3} .0244144
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-.6275204{col 31}{space 2} .2880624{col 42}{space 1}   -2.18{col 51}{space 3}0.029{col 59}{space 4}-1.192112{col 72}{space 3}-.0629285
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-1.017589{col 31}{space 2} .4831533{col 42}{space 1}   -2.11{col 51}{space 3}0.035{col 59}{space 4}-1.964552{col 72}{space 3} -.070626
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-3.163662{col 31}{space 2} .2136781{col 42}{space 1}  -14.81{col 51}{space 3}0.000{col 59}{space 4}-3.582463{col 72}{space 3} -2.74486
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2}-.0000825{col 31}{space 2} .0000336{col 42}{space 1}   -2.46{col 51}{space 3}0.014{col 59}{space 4}-.0001484{col 72}{space 3}-.0000167
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-15.74293{col 31}{space 2} .3759643{col 42}{space 1}  -41.87{col 51}{space 3}0.000{col 59}{space 4}-16.47981{col 72}{space 3}-15.00605
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         zip Count2PL i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-905.05453}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-702.64685}  
Iteration 2:{space 3}log pseudolikelihood = {res:-577.07009}  
Iteration 3:{space 3}log pseudolikelihood = {res:-570.07929}  
Iteration 4:{space 3}log pseudolikelihood = {res:-568.58957}  
Iteration 5:{space 3}log pseudolikelihood = {res:-568.58851}  
Iteration 6:{space 3}log pseudolikelihood = {res:-568.58851}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-568.58851}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-549.68669}  
Iteration 2:{space 3}log pseudolikelihood = {res:-540.42963}  
Iteration 3:{space 3}log pseudolikelihood = {res: -538.0296}  
Iteration 4:{space 3}log pseudolikelihood = {res:-537.23759}  
Iteration 5:{space 3}log pseudolikelihood = {res:-537.20122}  
Iteration 6:{space 3}log pseudolikelihood = {res: -537.2011}  
Iteration 7:{space 3}log pseudolikelihood = {res:-537.20109}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}        75
                                                {txt}Zero obs          = {res}    18,887

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res}  29115.03
{txt}Log pseudolikelihood = {res}-537.2011                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         Count2PL{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count2PL          {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} -.222672{col 31}{space 2} .2525165{col 42}{space 1}   -0.88{col 51}{space 3}0.378{col 59}{space 4}-.7175952{col 72}{space 3} .2722513
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0099154{col 31}{space 2} .0076225{col 42}{space 1}    1.30{col 51}{space 3}0.193{col 59}{space 4}-.0050244{col 72}{space 3} .0248552
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0216756{col 31}{space 2}  .010372{col 42}{space 1}   -2.09{col 51}{space 3}0.037{col 59}{space 4}-.0420043{col 72}{space 3}-.0013468
{txt}{space 14}ele {c |}{col 19}{res}{space 2}-.0148019{col 31}{space 2} .0123579{col 42}{space 1}   -1.20{col 51}{space 3}0.231{col 59}{space 4}-.0390229{col 72}{space 3} .0094191
{txt}{space 14}urb {c |}{col 19}{res}{space 2} .0220162{col 31}{space 2} .0114876{col 42}{space 1}    1.92{col 51}{space 3}0.055{col 59}{space 4}-.0004991{col 72}{space 3} .0445315
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0055438{col 31}{space 2} .0030104{col 42}{space 1}    1.84{col 51}{space 3}0.066{col 59}{space 4}-.0003564{col 72}{space 3} .0114441
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-1.030996{col 31}{space 2} .4428676{col 42}{space 1}   -2.33{col 51}{space 3}0.020{col 59}{space 4}-1.899001{col 72}{space 3}-.1629915
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-22.07367{col 31}{space 2} .4981644{col 42}{space 1}  -44.31{col 51}{space 3}0.000{col 59}{space 4}-23.05005{col 72}{space 3}-21.09728
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}  -20.581{col 31}{space 2} .4128835{col 42}{space 1}  -49.85{col 51}{space 3}0.000{col 59}{space 4}-21.39024{col 72}{space 3}-19.77176
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2}-.4167867{col 31}{space 2} .3021954{col 42}{space 1}   -1.38{col 51}{space 3}0.168{col 59}{space 4}-1.009079{col 72}{space 3} .1755055
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-21.51293{col 31}{space 2} .3313399{col 42}{space 1}  -64.93{col 51}{space 3}0.000{col 59}{space 4}-22.16235{col 72}{space 3}-20.86352
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-1.121054{col 31}{space 2}  1.43133{col 42}{space 1}   -0.78{col 51}{space 3}0.433{col 59}{space 4}-3.926409{col 72}{space 3} 1.684301
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-19.00254{col 31}{space 2} .4428059{col 42}{space 1}  -42.91{col 51}{space 3}0.000{col 59}{space 4}-19.87042{col 72}{space 3}-18.13465
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2}-2.901742{col 31}{space 2} .8896766{col 42}{space 1}   -3.26{col 51}{space 3}0.001{col 59}{space 4}-4.645477{col 72}{space 3}-1.158008
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-22.50019{col 31}{space 2} .4321506{col 42}{space 1}  -52.07{col 51}{space 3}0.000{col 59}{space 4}-23.34719{col 72}{space 3}-21.65319
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-.7324621{col 31}{space 2} .3836633{col 42}{space 1}   -1.91{col 51}{space 3}0.056{col 59}{space 4}-1.484428{col 72}{space 3} .0195042
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2} .0660138{col 31}{space 2}  .518058{col 42}{space 1}    0.13{col 51}{space 3}0.899{col 59}{space 4}-.9493612{col 72}{space 3} 1.081389
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-21.15608{col 31}{space 2} .2488725{col 42}{space 1}  -85.01{col 51}{space 3}0.000{col 59}{space 4}-21.64386{col 72}{space 3}-20.66829
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-.7090126{col 31}{space 2} 1.276962{col 42}{space 1}   -0.56{col 51}{space 3}0.579{col 59}{space 4}-3.211812{col 72}{space 3} 1.793786
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-21.17056{col 31}{space 2} .4632261{col 42}{space 1}  -45.70{col 51}{space 3}0.000{col 59}{space 4}-22.07846{col 72}{space 3}-20.26265
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2}-.0038171{col 31}{space 2} .6699685{col 42}{space 1}   -0.01{col 51}{space 3}0.995{col 59}{space 4}-1.316931{col 72}{space 3} 1.309297
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-1.935481{col 31}{space 2} .6739988{col 42}{space 1}   -2.87{col 51}{space 3}0.004{col 59}{space 4}-3.256495{col 72}{space 3}-.6144679
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-.1294163{col 31}{space 2} .8737977{col 42}{space 1}   -0.15{col 51}{space 3}0.882{col 59}{space 4}-1.842028{col 72}{space 3} 1.583196
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2} -.565901{col 31}{space 2} .2844682{col 42}{space 1}   -1.99{col 51}{space 3}0.047{col 59}{space 4}-1.123448{col 72}{space 3}-.0083535
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-1.291379{col 31}{space 2} 1.012656{col 42}{space 1}   -1.28{col 51}{space 3}0.202{col 59}{space 4}-3.276149{col 72}{space 3} .6933905
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} 1.413247{col 31}{space 2} .3315466{col 42}{space 1}    4.26{col 51}{space 3}0.000{col 59}{space 4} .7634273{col 72}{space 3} 2.063066
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2} .0000369{col 31}{space 2} .0000162{col 42}{space 1}    2.28{col 51}{space 3}0.023{col 59}{space 4} 5.15e-06{col 72}{space 3} .0000686
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 3.989242{col 31}{space 2} .2600647{col 42}{space 1}   15.34{col 51}{space 3}0.000{col 59}{space 4} 3.479524{col 72}{space 3} 4.498959
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo B
{txt}
{com}.         * Model 3
.         zip Count3PV i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-255.60016}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-226.57195}  
Iteration 2:{space 3}log pseudolikelihood = {res:-224.60066}  
Iteration 3:{space 3}log pseudolikelihood = {res:-222.15538}  
Iteration 4:{space 3}log pseudolikelihood = {res:-221.99992}  
Iteration 5:{space 3}log pseudolikelihood = {res:-221.99962}  
Iteration 6:{space 3}log pseudolikelihood = {res:-221.99962}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-221.99962}  
Iteration 1:{space 3}log pseudolikelihood = {res:-198.29586}  
Iteration 2:{space 3}log pseudolikelihood = {res:-188.96449}  
Iteration 3:{space 3}log pseudolikelihood = {res:-185.82978}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-180.28728}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-178.42705}  (not concave)
Iteration 6:{space 3}log pseudolikelihood = {res:-176.78739}  
Iteration 7:{space 3}log pseudolikelihood = {res:-175.96691}  (not concave)
Iteration 8:{space 3}log pseudolikelihood = {res:-175.77547}  (not concave)
Iteration 9:{space 3}log pseudolikelihood = {res:-175.69419}  
Iteration 10:{space 2}log pseudolikelihood = {res:-175.63333}  
Iteration 11:{space 2}log pseudolikelihood = {res:-175.57151}  (not concave)
Iteration 12:{space 2}log pseudolikelihood = {res:-175.56633}  
Iteration 13:{space 2}log pseudolikelihood = {res: -175.5521}  
Iteration 14:{space 2}log pseudolikelihood = {res:-175.52966}  (not concave)
Iteration 15:{space 2}log pseudolikelihood = {res:-175.52637}  
Iteration 16:{space 2}log pseudolikelihood = {res:-175.51943}  
Iteration 17:{space 2}log pseudolikelihood = {res:-175.51486}  
Iteration 18:{space 2}log pseudolikelihood = {res: -175.5128}  
Iteration 19:{space 2}log pseudolikelihood = {res:-175.51203}  
Iteration 20:{space 2}log pseudolikelihood = {res:-175.51143}  
Iteration 21:{space 2}log pseudolikelihood = {res:-175.51119}  
Iteration 22:{space 2}log pseudolikelihood = {res:-175.51106}  
Iteration 23:{space 2}log pseudolikelihood = {res:-175.51103}  
Iteration 24:{space 2}log pseudolikelihood = {res:-175.51102}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}        34
                                                {txt}Zero obs          = {res}    18,928

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res} 158277.50
{txt}Log pseudolikelihood = {res} -175.511                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         Count3PV{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count3PV          {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} .3880759{col 31}{space 2} .4428673{col 42}{space 1}    0.88{col 51}{space 3}0.381{col 59}{space 4}-.4799281{col 72}{space 3}  1.25608
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0268183{col 31}{space 2} .0087591{col 42}{space 1}    3.06{col 51}{space 3}0.002{col 59}{space 4} .0096507{col 72}{space 3} .0439859
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0322289{col 31}{space 2} .0206116{col 42}{space 1}   -1.56{col 51}{space 3}0.118{col 59}{space 4}-.0726268{col 72}{space 3}  .008169
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0384637{col 31}{space 2} .0169383{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0052653{col 72}{space 3} .0716622
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0261734{col 31}{space 2} .0132109{col 42}{space 1}   -1.98{col 51}{space 3}0.048{col 59}{space 4}-.0520663{col 72}{space 3}-.0002804
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0020442{col 31}{space 2} .0016095{col 42}{space 1}    1.27{col 51}{space 3}0.204{col 59}{space 4}-.0011103{col 72}{space 3} .0051988
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.5403739{col 31}{space 2} .5408616{col 42}{space 1}   -1.00{col 51}{space 3}0.318{col 59}{space 4}-1.600443{col 72}{space 3} .5196954
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-26.44816{col 31}{space 2} .3643363{col 42}{space 1}  -72.59{col 51}{space 3}0.000{col 59}{space 4}-27.16225{col 72}{space 3}-25.73407
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-29.82649{col 31}{space 2} .7301323{col 42}{space 1}  -40.85{col 51}{space 3}0.000{col 59}{space 4}-31.25753{col 72}{space 3}-28.39546
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 1.740891{col 31}{space 2} .7843695{col 42}{space 1}    2.22{col 51}{space 3}0.026{col 59}{space 4} .2035548{col 72}{space 3} 3.278227
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-31.83791{col 31}{space 2} .4726918{col 42}{space 1}  -67.35{col 51}{space 3}0.000{col 59}{space 4}-32.76437{col 72}{space 3}-30.91145
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-33.54737{col 31}{space 2} .4903203{col 42}{space 1}  -68.42{col 51}{space 3}0.000{col 59}{space 4}-34.50838{col 72}{space 3}-32.58636
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2} -26.5531{col 31}{space 2} .5829852{col 42}{space 1}  -45.55{col 51}{space 3}0.000{col 59}{space 4}-27.69573{col 72}{space 3}-25.41047
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2}-.0159676{col 31}{space 2} 1.215446{col 42}{space 1}   -0.01{col 51}{space 3}0.990{col 59}{space 4}-2.398197{col 72}{space 3} 2.366262
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-29.95767{col 31}{space 2} .7086318{col 42}{space 1}  -42.28{col 51}{space 3}0.000{col 59}{space 4}-31.34656{col 72}{space 3}-28.56877
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-35.55597{col 31}{space 2} .5085336{col 42}{space 1}  -69.92{col 51}{space 3}0.000{col 59}{space 4}-36.55268{col 72}{space 3}-34.55926
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2}-35.71629{col 31}{space 2}  .691744{col 42}{space 1}  -51.63{col 51}{space 3}0.000{col 59}{space 4}-37.07208{col 72}{space 3}-34.36049
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-32.60114{col 31}{space 2} .5058395{col 42}{space 1}  -64.45{col 51}{space 3}0.000{col 59}{space 4}-33.59256{col 72}{space 3}-31.60971
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-34.46753{col 31}{space 2} .4771727{col 42}{space 1}  -72.23{col 51}{space 3}0.000{col 59}{space 4}-35.40278{col 72}{space 3}-33.53229
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-30.95733{col 31}{space 2}  .701085{col 42}{space 1}  -44.16{col 51}{space 3}0.000{col 59}{space 4}-32.33144{col 72}{space 3}-29.58323
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.751599{col 31}{space 2} .6767372{col 42}{space 1}    2.59{col 51}{space 3}0.010{col 59}{space 4} .4252187{col 72}{space 3}  3.07798
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-26.41326{col 31}{space 2} .5106834{col 42}{space 1}  -51.72{col 51}{space 3}0.000{col 59}{space 4}-27.41418{col 72}{space 3}-25.41234
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-36.89195{col 31}{space 2} .5245354{col 42}{space 1}  -70.33{col 51}{space 3}0.000{col 59}{space 4}-37.92002{col 72}{space 3}-35.86388
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-26.23103{col 31}{space 2} .6329844{col 42}{space 1}  -41.44{col 51}{space 3}0.000{col 59}{space 4}-27.47166{col 72}{space 3} -24.9904
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-.0295683{col 31}{space 2} 1.183601{col 42}{space 1}   -0.02{col 51}{space 3}0.980{col 59}{space 4}-2.349384{col 72}{space 3} 2.290247
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-6.578161{col 31}{space 2} .8957053{col 42}{space 1}   -7.34{col 51}{space 3}0.000{col 59}{space 4}-8.333711{col 72}{space 3}-4.822611
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2} .0001711{col 31}{space 2} .0002995{col 42}{space 1}    0.57{col 51}{space 3}0.568{col 59}{space 4} -.000416{col 72}{space 3} .0007581
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-13.93156{col 31}{space 2} 16.75309{col 42}{space 1}   -0.83{col 51}{space 3}0.406{col 59}{space 4}  -46.767{col 72}{space 3} 18.90388
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo C
{txt}
{com}.         * Model 4
.         zip Count2PNB i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -3168.462}  
Iteration 1:{space 3}log pseudolikelihood = {res: -2930.012}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2891.4308}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2887.7785}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2887.4422}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2887.4385}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2887.4385}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2887.4385}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2646.9773}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2357.8817}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-2260.8764}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-2250.6437}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2236.7488}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2236.3212}  
Iteration 7:{space 3}log pseudolikelihood = {res:-2236.3188}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2236.3184}  
Iteration 9:{space 3}log pseudolikelihood = {res:-2236.3184}  
Iteration 10:{space 2}log pseudolikelihood = {res:-2236.3184}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}       704
                                                {txt}Zero obs          = {res}    18,258

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res}   1356.93
{txt}Log pseudolikelihood = {res}-2236.318                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}        Count2PNB{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count2PNB         {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.3367608{col 31}{space 2} .1142775{col 42}{space 1}   -2.95{col 51}{space 3}0.003{col 59}{space 4}-.5607406{col 72}{space 3}-.1127809
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0076292{col 31}{space 2} .0024744{col 42}{space 1}    3.08{col 51}{space 3}0.002{col 59}{space 4} .0027796{col 72}{space 3} .0124789
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0458215{col 31}{space 2} .0053502{col 42}{space 1}   -8.56{col 51}{space 3}0.000{col 59}{space 4}-.0563076{col 72}{space 3}-.0353354
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0194461{col 31}{space 2} .0050372{col 42}{space 1}    3.86{col 51}{space 3}0.000{col 59}{space 4} .0095734{col 72}{space 3} .0293188
{txt}{space 14}urb {c |}{col 19}{res}{space 2} .0101313{col 31}{space 2} .0039463{col 42}{space 1}    2.57{col 51}{space 3}0.010{col 59}{space 4} .0023967{col 72}{space 3}  .017866
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2}-.0001535{col 31}{space 2} .0005715{col 42}{space 1}   -0.27{col 51}{space 3}0.788{col 59}{space 4}-.0012736{col 72}{space 3} .0009665
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.1977375{col 31}{space 2} .0982244{col 42}{space 1}   -2.01{col 51}{space 3}0.044{col 59}{space 4}-.3902537{col 72}{space 3}-.0052213
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-.2332494{col 31}{space 2} .1631695{col 42}{space 1}   -1.43{col 51}{space 3}0.153{col 59}{space 4}-.5530558{col 72}{space 3}  .086557
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-.5843804{col 31}{space 2}  .482085{col 42}{space 1}   -1.21{col 51}{space 3}0.225{col 59}{space 4} -1.52925{col 72}{space 3} .3604889
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 2.285369{col 31}{space 2} .1748728{col 42}{space 1}   13.07{col 51}{space 3}0.000{col 59}{space 4} 1.942625{col 72}{space 3} 2.628113
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2} .0841903{col 31}{space 2} .5819579{col 42}{space 1}    0.14{col 51}{space 3}0.885{col 59}{space 4}-1.056426{col 72}{space 3} 1.224807
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2} -1.54804{col 31}{space 2} .3904215{col 42}{space 1}   -3.97{col 51}{space 3}0.000{col 59}{space 4}-2.313252{col 72}{space 3}-.7828278
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-1.574247{col 31}{space 2} .5331785{col 42}{space 1}   -2.95{col 51}{space 3}0.003{col 59}{space 4}-2.619257{col 72}{space 3}-.5292362
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2} .0242011{col 31}{space 2} .3781811{col 42}{space 1}    0.06{col 51}{space 3}0.949{col 59}{space 4}-.7170202{col 72}{space 3} .7654224
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}  2.25455{col 31}{space 2} .3323343{col 42}{space 1}    6.78{col 51}{space 3}0.000{col 59}{space 4} 1.603187{col 72}{space 3} 2.905913
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-1.408415{col 31}{space 2} .3446476{col 42}{space 1}   -4.09{col 51}{space 3}0.000{col 59}{space 4}-2.083912{col 72}{space 3}-.7329179
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2}-.0299262{col 31}{space 2} .4551104{col 42}{space 1}   -0.07{col 51}{space 3}0.948{col 59}{space 4}-.9219262{col 72}{space 3} .8620737
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-2.496656{col 31}{space 2} .4703782{col 42}{space 1}   -5.31{col 51}{space 3}0.000{col 59}{space 4} -3.41858{col 72}{space 3}-1.574732
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-1.507649{col 31}{space 2} .3583804{col 42}{space 1}   -4.21{col 51}{space 3}0.000{col 59}{space 4}-2.210062{col 72}{space 3} -.805236
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-1.514276{col 31}{space 2} .6032331{col 42}{space 1}   -2.51{col 51}{space 3}0.012{col 59}{space 4}-2.696592{col 72}{space 3}-.3319611
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.595723{col 31}{space 2} .2108431{col 42}{space 1}    7.57{col 51}{space 3}0.000{col 59}{space 4} 1.182478{col 72}{space 3} 2.008968
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-1.913887{col 31}{space 2} .4250495{col 42}{space 1}   -4.50{col 51}{space 3}0.000{col 59}{space 4}-2.746969{col 72}{space 3}-1.080805
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-.4997788{col 31}{space 2} .2685231{col 42}{space 1}   -1.86{col 51}{space 3}0.063{col 59}{space 4}-1.026074{col 72}{space 3} .0265168
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-.6115211{col 31}{space 2} .2131996{col 42}{space 1}   -2.87{col 51}{space 3}0.004{col 59}{space 4}-1.029385{col 72}{space 3}-.1936575
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-1.154564{col 31}{space 2} .3654306{col 42}{space 1}   -3.16{col 51}{space 3}0.002{col 59}{space 4}-1.870795{col 72}{space 3}-.4383329
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-2.621596{col 31}{space 2} .1838974{col 42}{space 1}  -14.26{col 51}{space 3}0.000{col 59}{space 4}-2.982028{col 72}{space 3}-2.261164
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2}-.0000566{col 31}{space 2} .0000291{col 42}{space 1}   -1.95{col 51}{space 3}0.052{col 59}{space 4}-.0001137{col 72}{space 3} 4.20e-07
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-16.24567{col 31}{space 2}  .338184{col 42}{space 1}  -48.04{col 51}{space 3}0.000{col 59}{space 4} -16.9085{col 72}{space 3}-15.58284
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo D
{txt}
{com}.         * Export full table
.         esttab A B C D  ///
>         using "$dir/appendixCtable2.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 2. Results ZIP Regression, Logit Inflation Model: Replications with alternative specifications of the dependent variables. ") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixCtable2.rtf"'})

{com}. 
. * APPENDIX D. Alternative Specifications of “Table 4. Fixed Effects Analysis, Dependent Variable: Incumbent Vote Share (%).”
. * Table 1
.         * Model 1
.         xtreg incumb_vote_shr i.Count2PIl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1416                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2666                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2037                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    96.64
{txt}corr(u_i, Xb)  = {res}-0.1554                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}   incumb_vote_shr{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}Count2PIl {c |}
{space 16}1  {c |}{col 20}{res}{space 2}-5.975522{col 32}{space 2} 1.195099{col 43}{space 1}   -5.00{col 52}{space 3}0.000{col 60}{space 4}-8.326418{col 73}{space 3}-3.624626
{txt}{space 16}2  {c |}{col 20}{res}{space 2} .5554269{col 32}{space 2} 2.880545{col 43}{space 1}    0.19{col 52}{space 3}0.847{col 60}{space 4}-5.110932{col 73}{space 3} 6.221786
{txt}{space 18} {c |}
{space 2}1.state_ac_align {c |}{col 20}{res}{space 2} 11.17184{col 32}{space 2} .5000553{col 43}{space 1}   22.34{col 52}{space 3}0.000{col 60}{space 4} 10.18817{col 73}{space 3}  12.1555
{txt}{space 1}Margin_Percentage {c |}{col 20}{res}{space 2}-.0012094{col 32}{space 2} .0228963{col 43}{space 1}   -0.05{col 52}{space 3}0.958{col 60}{space 4} -.046249{col 73}{space 3} .0438302
{txt}{space 15}lit {c |}{col 20}{res}{space 2} .1654693{col 32}{space 2} .0499611{col 43}{space 1}    3.31{col 52}{space 3}0.001{col 60}{space 4} .0671901{col 73}{space 3} .2637484
{txt}{space 15}ele {c |}{col 20}{res}{space 2} .0251339{col 32}{space 2} .0444854{col 43}{space 1}    0.56{col 52}{space 3}0.572{col 60}{space 4} -.062374{col 73}{space 3} .1126417
{txt}{space 15}urb {c |}{col 20}{res}{space 2} .2802313{col 32}{space 2} .0993009{col 43}{space 1}    2.82{col 52}{space 3}0.005{col 60}{space 4} .0848952{col 73}{space 3} .4755675
{txt}Turnout_Percentage {c |}{col 20}{res}{space 2} .1261564{col 32}{space 2} .0259526{col 43}{space 1}    4.86{col 52}{space 3}0.000{col 60}{space 4} .0751048{col 73}{space 3} .1772081
{txt}{space 3}incumb_vote_lag {c |}{col 20}{res}{space 2} .1667324{col 32}{space 2} .0231834{col 43}{space 1}    7.19{col 52}{space 3}0.000{col 60}{space 4} .1211281{col 73}{space 3} .2123368
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-1.211192{col 32}{space 2} 3.168073{col 43}{space 1}   -0.38{col 52}{space 3}0.702{col 60}{space 4}-7.443151{col 73}{space 3} 5.020768
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} 10.238113
           {txt}sigma_e {c |} {res}  14.37991
               {txt}rho {c |} {res} .33638862{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         xtreg incumb_vote_shr i.Count2PIl##i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1427                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2682                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2051                                        {txt}max = {res}        7

                                                {txt}F({res}11{txt},{res}333{txt})          = {res}    80.08
{txt}corr(u_i, Xb)  = {res}-0.1555                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 90:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 25}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 26}{c |}{col 38}    Robust
{col 1}         incumb_vote_shr{col 26}{c |}      Coef.{col 38}   Std. Err.{col 50}      t{col 58}   P>|t|{col 66}     [95% Con{col 79}f. Interval]
{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}Count2PIl {c |}
{space 22}1  {c |}{col 26}{res}{space 2}-6.991301{col 38}{space 2} 1.289759{col 49}{space 1}   -5.42{col 58}{space 3}0.000{col 66}{space 4}-9.528404{col 79}{space 3}-4.454198
{txt}{space 22}2  {c |}{col 26}{res}{space 2} .6681976{col 38}{space 2} 2.911652{col 49}{space 1}    0.23{col 58}{space 3}0.819{col 66}{space 4}-5.059352{col 79}{space 3} 6.395748
{txt}{space 24} {c |}
{space 8}1.state_ac_align {c |}{col 26}{res}{space 2} 10.99286{col 38}{space 2} .4892812{col 49}{space 1}   22.47{col 58}{space 3}0.000{col 66}{space 4} 10.03039{col 79}{space 3} 11.95533
{txt}{space 24} {c |}
Count2PIl#state_ac_align {c |}
{space 20}1 1  {c |}{col 26}{res}{space 2} 9.205892{col 38}{space 2} 2.416233{col 49}{space 1}    3.81{col 58}{space 3}0.000{col 66}{space 4} 4.452888{col 79}{space 3}  13.9589
{txt}{space 20}2 1  {c |}{col 26}{res}{space 2}-1.069714{col 38}{space 2} 9.376198{col 49}{space 1}   -0.11{col 58}{space 3}0.909{col 66}{space 4}-19.51376{col 79}{space 3} 17.37433
{txt}{space 24} {c |}
{space 7}Margin_Percentage {c |}{col 26}{res}{space 2}-.0012903{col 38}{space 2} .0229437{col 49}{space 1}   -0.06{col 58}{space 3}0.955{col 66}{space 4}-.0464232{col 79}{space 3} .0438427
{txt}{space 21}lit {c |}{col 26}{res}{space 2} .1616771{col 38}{space 2} .0498983{col 49}{space 1}    3.24{col 58}{space 3}0.001{col 66}{space 4} .0635215{col 79}{space 3} .2598326
{txt}{space 21}ele {c |}{col 26}{res}{space 2} .0274047{col 38}{space 2} .0443777{col 49}{space 1}    0.62{col 58}{space 3}0.537{col 66}{space 4}-.0598913{col 79}{space 3} .1147007
{txt}{space 21}urb {c |}{col 26}{res}{space 2} .2795566{col 38}{space 2} .0991795{col 49}{space 1}    2.82{col 58}{space 3}0.005{col 66}{space 4} .0844592{col 79}{space 3}  .474654
{txt}{space 6}Turnout_Percentage {c |}{col 26}{res}{space 2} .1265271{col 38}{space 2} .0258651{col 49}{space 1}    4.89{col 58}{space 3}0.000{col 66}{space 4} .0756475{col 79}{space 3} .1774068
{txt}{space 9}incumb_vote_lag {c |}{col 26}{res}{space 2} .1668808{col 38}{space 2} .0232175{col 49}{space 1}    7.19{col 58}{space 3}0.000{col 66}{space 4} .1212094{col 79}{space 3} .2125521
{txt}{space 19}_cons {c |}{col 26}{res}{space 2}-1.109116{col 38}{space 2} 3.173931{col 49}{space 1}   -0.35{col 58}{space 3}0.727{col 66}{space 4}-7.352598{col 79}{space 3} 5.134366
{txt}{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 sigma_u {c |} {res}  10.22755
                 {txt}sigma_e {c |} {res} 14.371964
                     {txt}rho {c |} {res}  .3361746{txt}   (fraction of variance due to u_i)
{hline 25}{c BT}{hline 64}

{com}.         eststo B        
{txt}
{com}.         * Model 3
.         xtreg incumb_vote_shr i.Count2PNB i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    16,851
{txt}Group variable: {res}SHF_AC_ID{txt}{col 49}Number of groups{col 67}={col 69}{res}     3,485

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1409{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2702{col 63}{txt}avg{col 67}={col 69}{res}       4.8
{txt}     overall = {res}0.2055{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}8{txt},{res}13358{txt}){col 67}={col 70}{res}   273.90
{txt}corr(u_i, Xb){col 16}= {res}-0.1414{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   incumb_vote_shr{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}1.Count2PNB {c |}{col 20}{res}{space 2} -5.05736{col 32}{space 2} .6431477{col 43}{space 1}   -7.86{col 52}{space 3}0.000{col 60}{space 4} -6.31802{col 73}{space 3}-3.796699
{txt}{space 2}1.state_ac_align {c |}{col 20}{res}{space 2} 11.18987{col 32}{space 2} .3262245{col 43}{space 1}   34.30{col 52}{space 3}0.000{col 60}{space 4} 10.55042{col 73}{space 3} 11.82931
{txt}{space 1}Margin_Percentage {c |}{col 20}{res}{space 2}-.0014535{col 32}{space 2} .0117425{col 43}{space 1}   -0.12{col 52}{space 3}0.901{col 60}{space 4}-.0244704{col 73}{space 3} .0215634
{txt}{space 15}lit {c |}{col 20}{res}{space 2} .1699655{col 32}{space 2} .0260167{col 43}{space 1}    6.53{col 52}{space 3}0.000{col 60}{space 4} .1189691{col 73}{space 3} .2209619
{txt}{space 15}ele {c |}{col 20}{res}{space 2} .0219505{col 32}{space 2} .0180889{col 43}{space 1}    1.21{col 52}{space 3}0.225{col 60}{space 4}-.0135063{col 73}{space 3} .0574072
{txt}{space 15}urb {c |}{col 20}{res}{space 2} .2725197{col 32}{space 2} .0550444{col 43}{space 1}    4.95{col 52}{space 3}0.000{col 60}{space 4} .1646249{col 73}{space 3} .3804145
{txt}Turnout_Percentage {c |}{col 20}{res}{space 2} .1274702{col 32}{space 2} .0157327{col 43}{space 1}    8.10{col 52}{space 3}0.000{col 60}{space 4} .0966319{col 73}{space 3} .1583085
{txt}{space 3}incumb_vote_lag {c |}{col 20}{res}{space 2}  .165866{col 32}{space 2} .0143366{col 43}{space 1}   11.57{col 52}{space 3}0.000{col 60}{space 4} .1377642{col 73}{space 3} .1939678
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-1.114308{col 32}{space 2} 1.769084{col 43}{space 1}   -0.63{col 52}{space 3}0.529{col 60}{space 4}-4.581964{col 73}{space 3} 2.353347
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} 10.178141
           {txt}sigma_e {c |} {res}  14.38494
               {txt}rho {c |} {res} .33361524{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
F test that all u_i=0: F({res}3484{txt}, {res}13358{txt}) = {res}1.66{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}.         eststo D
{txt}
{com}.         * Model 4
.         xtreg incumb_vote_shr i.Count2PNB##i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    16,851
{txt}Group variable: {res}SHF_AC_ID{txt}{col 49}Number of groups{col 67}={col 69}{res}     3,485

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1416{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2712{col 63}{txt}avg{col 67}={col 69}{res}       4.8
{txt}     overall = {res}0.2062{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}9{txt},{res}13357{txt}){col 67}={col 70}{res}   244.73
{txt}corr(u_i, Xb){col 16}= {res}-0.1431{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 25}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         incumb_vote_shr{col 26}{c |}      Coef.{col 38}   Std. Err.{col 50}      t{col 58}   P>|t|{col 66}     [95% Con{col 79}f. Interval]
{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}1.Count2PNB {c |}{col 26}{res}{space 2}-5.785391{col 38}{space 2} .6834807{col 49}{space 1}   -8.46{col 58}{space 3}0.000{col 66}{space 4} -7.12511{col 79}{space 3}-4.445672
{txt}{space 8}1.state_ac_align {c |}{col 26}{res}{space 2}  11.0261{col 38}{space 2} .3302621{col 49}{space 1}   33.39{col 58}{space 3}0.000{col 66}{space 4} 10.37874{col 79}{space 3} 11.67347
{txt}{space 24} {c |}
Count2PNB#state_ac_align {c |}
{space 20}1 1  {c |}{col 26}{res}{space 2} 6.117805{col 38}{space 2} 1.948764{col 49}{space 1}    3.14{col 58}{space 3}0.002{col 66}{space 4} 2.297952{col 79}{space 3} 9.937658
{txt}{space 24} {c |}
{space 7}Margin_Percentage {c |}{col 26}{res}{space 2}-.0011588{col 38}{space 2}  .011739{col 49}{space 1}   -0.10{col 58}{space 3}0.921{col 66}{space 4}-.0241688{col 79}{space 3} .0218512
{txt}{space 21}lit {c |}{col 26}{res}{space 2} .1662835{col 38}{space 2} .0260345{col 49}{space 1}    6.39{col 58}{space 3}0.000{col 66}{space 4} .1152522{col 79}{space 3} .2173148
{txt}{space 21}ele {c |}{col 26}{res}{space 2} .0241346{col 38}{space 2} .0180962{col 49}{space 1}    1.33{col 58}{space 3}0.182{col 66}{space 4}-.0113366{col 79}{space 3} .0596058
{txt}{space 21}urb {c |}{col 26}{res}{space 2} .2730593{col 38}{space 2} .0550264{col 49}{space 1}    4.96{col 58}{space 3}0.000{col 66}{space 4} .1651997{col 79}{space 3} .3809188
{txt}{space 6}Turnout_Percentage {c |}{col 26}{res}{space 2} .1280825{col 38}{space 2} .0157287{col 49}{space 1}    8.14{col 58}{space 3}0.000{col 66}{space 4} .0972521{col 79}{space 3}  .158913
{txt}{space 9}incumb_vote_lag {c |}{col 26}{res}{space 2} .1655774{col 38}{space 2} .0143322{col 49}{space 1}   11.55{col 58}{space 3}0.000{col 66}{space 4} .1374843{col 79}{space 3} .1936704
{txt}{space 19}_cons {c |}{col 26}{res}{space 2}-1.046407{col 38}{space 2} 1.768631{col 49}{space 1}   -0.59{col 58}{space 3}0.554{col 66}{space 4}-4.513174{col 79}{space 3} 2.420359
{txt}{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 sigma_u {c |} {res} 10.175597
                 {txt}sigma_e {c |} {res} 14.380174
                     {txt}rho {c |} {res} .33365145{txt}   (fraction of variance due to u_i)
{hline 25}{c BT}{hline 64}
F test that all u_i=0: F({res}3484{txt}, {res}13357{txt}) = {res}1.66{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}.         eststo E
{txt}
{com}.         esttab A B C D ///
>         using "$dir/appendixDtable1.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 1. Left: Intra-Systemic Violence (categorical operationalization); Right: Non-boycott violence. ") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixDtable1.rtf"'})

{com}. 
. * APPENDIX E. Replications with Restricted Sample (missing observation on Incumbent Vote Share dropped)
. preserve 
{txt}
{com}.         keep if !missing(incumb_vote_shr)
{txt}(2,131 observations deleted)

{com}.         * Table 1
.                 * Model 1
.                 xtreg Turnout_Percentage i.Count2PIl i.state_ac_align ///
>                 Margin_Percentage lit ele urb Turnout_lag WIDisCount2PIntr, ///
>                 fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1077                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.1448                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.1529                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    18.28
{txt}corr(u_i, Xb)  = {res}0.0920                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}Count2PIl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-3.151439{col 31}{space 2}  .918677{col 42}{space 1}   -3.43{col 51}{space 3}0.001{col 59}{space 4}-4.958581{col 72}{space 3}-1.344297
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 1.995169{col 31}{space 2} 1.264994{col 42}{space 1}    1.58{col 51}{space 3}0.116{col 59}{space 4}-.4932172{col 72}{space 3} 4.483555
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} .9501866{col 31}{space 2}  .362722{col 42}{space 1}    2.62{col 51}{space 3}0.009{col 59}{space 4} .2366714{col 72}{space 3} 1.663702
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0456124{col 31}{space 2} .0120379{col 42}{space 1}   -3.79{col 51}{space 3}0.000{col 59}{space 4}-.0692923{col 72}{space 3}-.0219324
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1695006{col 31}{space 2} .0597759{col 42}{space 1}    2.84{col 51}{space 3}0.005{col 59}{space 4} .0519145{col 72}{space 3} .2870867
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0640211{col 31}{space 2} .0353519{col 42}{space 1}    1.81{col 51}{space 3}0.071{col 59}{space 4}-.0055201{col 72}{space 3} .1335623
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0270165{col 31}{space 2} .1007893{col 42}{space 1}   -0.27{col 51}{space 3}0.789{col 59}{space 4}-.2252805{col 72}{space 3} .1712474
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0427114{col 31}{space 2} .0373753{col 42}{space 1}    1.14{col 51}{space 3}0.254{col 59}{space 4}  -.03081{col 72}{space 3} .1162328
{txt}{space 1}WIDisCount2PIntr {c |}{col 19}{res}{space 2} 4.063759{col 31}{space 2} 1.115497{col 42}{space 1}    3.64{col 51}{space 3}0.000{col 59}{space 4}  1.86945{col 72}{space 3} 6.258068
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 49.65949{col 31}{space 2}  2.75593{col 42}{space 1}   18.02{col 51}{space 3}0.000{col 59}{space 4} 44.23827{col 72}{space 3} 55.08072
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 9.3123929
          {txt}sigma_e {c |} {res} 7.8982715
              {txt}rho {c |} {res} .58161442{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.                 eststo A
{txt}
{com}.                 * Model 2
.                 xtreg Turnout_Percentage i.Count3Vl i.state_ac_align ///
>                 Margin_Percentage lit ele urb Turnout_lag, ///
>                 fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1569                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2416                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2219                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    18.32
{txt}corr(u_i, Xb)  = {res}0.1675                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}Count3Vl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-14.72342{col 31}{space 2} 4.003755{col 42}{space 1}   -3.68{col 51}{space 3}0.000{col 59}{space 4}-22.59926{col 72}{space 3}-6.847576
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-21.25927{col 31}{space 2} 7.605591{col 42}{space 1}   -2.80{col 51}{space 3}0.005{col 59}{space 4}-36.22033{col 72}{space 3}-6.298211
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-21.44726{col 31}{space 2} 5.390904{col 42}{space 1}   -3.98{col 51}{space 3}0.000{col 59}{space 4}-32.05177{col 72}{space 3}-10.84274
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} .8817291{col 31}{space 2} .3297604{col 42}{space 1}    2.67{col 51}{space 3}0.008{col 59}{space 4}  .233053{col 72}{space 3} 1.530405
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0369634{col 31}{space 2} .0112176{col 42}{space 1}   -3.30{col 51}{space 3}0.001{col 59}{space 4}-.0590297{col 72}{space 3}-.0148971
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1431967{col 31}{space 2}   .05505{col 42}{space 1}    2.60{col 51}{space 3}0.010{col 59}{space 4} .0349071{col 72}{space 3} .2514863
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0748559{col 31}{space 2} .0333402{col 42}{space 1}    2.25{col 51}{space 3}0.025{col 59}{space 4}  .009272{col 72}{space 3} .1404398
{txt}{space 14}urb {c |}{col 19}{res}{space 2} -.047825{col 31}{space 2} .0946053{col 42}{space 1}   -0.51{col 51}{space 3}0.614{col 59}{space 4}-.2339243{col 72}{space 3} .1382744
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0724446{col 31}{space 2} .0348299{col 42}{space 1}    2.08{col 51}{space 3}0.038{col 59}{space 4} .0039302{col 72}{space 3} .1409589
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 49.31854{col 31}{space 2} 2.780778{col 42}{space 1}   17.74{col 51}{space 3}0.000{col 59}{space 4} 43.84843{col 72}{space 3} 54.78864
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.8949147
          {txt}sigma_e {c |} {res} 7.6775383
              {txt}rho {c |} {res} .57306357{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.                 eststo B
{txt}
{com}.                 * Model 3
.                 xtreg Turnout_Percentage i.Count2PIl i.Count3Vl i.state_ac_align ///
>                 Margin_Percentage lit ele urb Turnout_lag WIDisCount2PIntr, ///
>                 fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1591                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2385                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2211                                        {txt}max = {res}        7

                                                {txt}F({res}12{txt},{res}333{txt})          = {res}    14.93
{txt}corr(u_i, Xb)  = {res}0.1609                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}Count2PIl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-3.338847{col 31}{space 2} .9082607{col 42}{space 1}   -3.68{col 51}{space 3}0.000{col 59}{space 4}-5.125499{col 72}{space 3}-1.552195
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 1.835567{col 31}{space 2} 1.278764{col 42}{space 1}    1.44{col 51}{space 3}0.152{col 59}{space 4}-.6799074{col 72}{space 3} 4.351041
{txt}{space 17} {c |}
{space 9}Count3Vl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-14.94733{col 31}{space 2} 4.081429{col 42}{space 1}   -3.66{col 51}{space 3}0.000{col 59}{space 4}-22.97597{col 72}{space 3}  -6.9187
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-21.38618{col 31}{space 2} 7.586326{col 42}{space 1}   -2.82{col 51}{space 3}0.005{col 59}{space 4}-36.30935{col 72}{space 3} -6.46302
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-21.69416{col 31}{space 2} 5.472011{col 42}{space 1}   -3.96{col 51}{space 3}0.000{col 59}{space 4}-32.45823{col 72}{space 3} -10.9301
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} .8624576{col 31}{space 2} .3305178{col 42}{space 1}    2.61{col 51}{space 3}0.009{col 59}{space 4} .2122915{col 72}{space 3} 1.512624
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0362813{col 31}{space 2} .0111976{col 42}{space 1}   -3.24{col 51}{space 3}0.001{col 59}{space 4}-.0583082{col 72}{space 3}-.0142545
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1379085{col 31}{space 2} .0555988{col 42}{space 1}    2.48{col 51}{space 3}0.014{col 59}{space 4} .0285393{col 72}{space 3} .2472778
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0782759{col 31}{space 2} .0333911{col 42}{space 1}    2.34{col 51}{space 3}0.020{col 59}{space 4} .0125917{col 72}{space 3}   .14396
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0473429{col 31}{space 2} .0941781{col 42}{space 1}   -0.50{col 51}{space 3}0.616{col 59}{space 4} -.232602{col 72}{space 3} .1379162
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2}  .073674{col 31}{space 2}  .034844{col 42}{space 1}    2.11{col 51}{space 3}0.035{col 59}{space 4} .0051319{col 72}{space 3} .1422162
{txt}{space 1}WIDisCount2PIntr {c |}{col 19}{res}{space 2}  2.21868{col 31}{space 2} 1.086003{col 42}{space 1}    2.04{col 51}{space 3}0.042{col 59}{space 4} .0823895{col 72}{space 3} 4.354971
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 49.35129{col 31}{space 2} 2.759179{col 42}{space 1}   17.89{col 51}{space 3}0.000{col 59}{space 4} 43.92367{col 72}{space 3} 54.77891
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.8988953
          {txt}sigma_e {c |} {res} 7.6685167
              {txt}rho {c |} {res} .57385764{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.                 eststo C
{txt}
{com}.                 * Export full table 
.                 esttab A B C ///
>                 using "$dir/appendixETable1.rtf", /// 
>                 star(* 0.05 ** 0.01 *** 0.001) ///
>                 title("Table 1. Replication Results Fixed Effects Analysis, Dependent Variable: Turnout (%). Restricted sample.") ///
>                 se scalars(ll) obslast ///
>                 replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixETable1.rtf"'})

{com}.         * Table 2
.                 * Model 1
.                 zip Count2PIntr i.state_ac_align Margin_Percentage lit ele ///
>                 urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>                 vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2763.5062}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2559.6894}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2527.4789}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2524.4148}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2524.1455}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2524.1426}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2524.1426}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2524.1426}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2419.6067}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2176.3629}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1924.3296}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-1902.6707}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1898.5086}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1898.3704}  
Iteration 7:{space 3}log pseudolikelihood = {res:-1898.3577}  
Iteration 8:{space 3}log pseudolikelihood = {res:-1898.3554}  
Iteration 9:{space 3}log pseudolikelihood = {res:-1898.3549}  
Iteration 10:{space 2}log pseudolikelihood = {res:-1898.3547}  
Iteration 11:{space 2}log pseudolikelihood = {res:-1898.3547}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    16,833
                                                {txt}Nonzero obs       = {res}       611
                                                {txt}Zero obs          = {res}    16,222

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res}  47458.37
{txt}Log pseudolikelihood = {res}-1898.355                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}      Count2PIntr{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count2PIntr       {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.4265468{col 31}{space 2} .1276558{col 42}{space 1}   -3.34{col 51}{space 3}0.001{col 59}{space 4}-.6767477{col 72}{space 3} -.176346
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0069936{col 31}{space 2} .0028275{col 42}{space 1}    2.47{col 51}{space 3}0.013{col 59}{space 4} .0014518{col 72}{space 3} .0125354
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0619865{col 31}{space 2} .0060017{col 42}{space 1}  -10.33{col 51}{space 3}0.000{col 59}{space 4}-.0737496{col 72}{space 3}-.0502234
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0297441{col 31}{space 2}  .005862{col 42}{space 1}    5.07{col 51}{space 3}0.000{col 59}{space 4} .0182548{col 72}{space 3} .0412333
{txt}{space 14}urb {c |}{col 19}{res}{space 2} .0108305{col 31}{space 2} .0043267{col 42}{space 1}    2.50{col 51}{space 3}0.012{col 59}{space 4} .0023504{col 72}{space 3} .0193106
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0007219{col 31}{space 2} .0007312{col 42}{space 1}    0.99{col 51}{space 3}0.323{col 59}{space 4}-.0007112{col 72}{space 3} .0021551
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.1504996{col 31}{space 2} .1024931{col 42}{space 1}   -1.47{col 51}{space 3}0.142{col 59}{space 4}-.3513825{col 72}{space 3} .0503833
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-.1635986{col 31}{space 2} .1695487{col 42}{space 1}   -0.96{col 51}{space 3}0.335{col 59}{space 4}-.4959079{col 72}{space 3} .1687107
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-.0974692{col 31}{space 2} .4904935{col 42}{space 1}   -0.20{col 51}{space 3}0.842{col 59}{space 4}-1.058819{col 72}{space 3} .8638804
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 2.527931{col 31}{space 2} .1972084{col 42}{space 1}   12.82{col 51}{space 3}0.000{col 59}{space 4}  2.14141{col 72}{space 3} 2.914453
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-14.15862{col 31}{space 2} .2211066{col 42}{space 1}  -64.04{col 51}{space 3}0.000{col 59}{space 4}-14.59198{col 72}{space 3}-13.72526
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-1.563786{col 31}{space 2} .4574387{col 42}{space 1}   -3.42{col 51}{space 3}0.001{col 59}{space 4} -2.46035{col 72}{space 3}-.6672231
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-1.308372{col 31}{space 2} .5358166{col 42}{space 1}   -2.44{col 51}{space 3}0.015{col 59}{space 4}-2.358553{col 72}{space 3}-.2581907
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2}-1.757866{col 31}{space 2} .6265222{col 42}{space 1}   -2.81{col 51}{space 3}0.005{col 59}{space 4}-2.985827{col 72}{space 3}-.5299051
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-13.28634{col 31}{space 2}  .238825{col 42}{space 1}  -55.63{col 51}{space 3}0.000{col 59}{space 4}-13.75443{col 72}{space 3}-12.81826
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-1.672999{col 31}{space 2} .4546013{col 42}{space 1}   -3.68{col 51}{space 3}0.000{col 59}{space 4}-2.564001{col 72}{space 3}-.7819965
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2} .4055455{col 31}{space 2} .4995461{col 42}{space 1}    0.81{col 51}{space 3}0.417{col 59}{space 4}-.5735469{col 72}{space 3} 1.384638
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-2.723518{col 31}{space 2} .5245895{col 42}{space 1}   -5.19{col 51}{space 3}0.000{col 59}{space 4}-3.751695{col 72}{space 3}-1.695342
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}  -1.1653{col 31}{space 2} .3855472{col 42}{space 1}   -3.02{col 51}{space 3}0.003{col 59}{space 4}-1.920959{col 72}{space 3}-.4096418
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-1.890771{col 31}{space 2} 1.016268{col 42}{space 1}   -1.86{col 51}{space 3}0.063{col 59}{space 4} -3.88262{col 72}{space 3} .1010771
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.695111{col 31}{space 2} .2382589{col 42}{space 1}    7.11{col 51}{space 3}0.000{col 59}{space 4} 1.228132{col 72}{space 3} 2.162089
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-1.955492{col 31}{space 2} .5176703{col 42}{space 1}   -3.78{col 51}{space 3}0.000{col 59}{space 4}-2.970108{col 72}{space 3}-.9408771
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-.4673641{col 31}{space 2} .3167754{col 42}{space 1}   -1.48{col 51}{space 3}0.140{col 59}{space 4}-1.088232{col 72}{space 3} .1535042
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2} -.418755{col 31}{space 2} .2259692{col 42}{space 1}   -1.85{col 51}{space 3}0.064{col 59}{space 4}-.8616464{col 72}{space 3} .0241364
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-1.035881{col 31}{space 2} .4112831{col 42}{space 1}   -2.52{col 51}{space 3}0.012{col 59}{space 4}-1.841982{col 72}{space 3}-.2297813
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-2.569553{col 31}{space 2} .1973677{col 42}{space 1}  -13.02{col 51}{space 3}0.000{col 59}{space 4}-2.956386{col 72}{space 3}-2.182719
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2}-.0003605{col 31}{space 2} .0000435{col 42}{space 1}   -8.29{col 51}{space 3}0.000{col 59}{space 4}-.0004457{col 72}{space 3}-.0002753
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-14.33921{col 31}{space 2} .3904087{col 42}{space 1}  -36.73{col 51}{space 3}0.000{col 59}{space 4}-15.10439{col 72}{space 3}-13.57402
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 eststo A
{txt}
{com}.                 * Model 2
.                 zip Count3PV i.state_ac_align Margin_Percentage lit ele ///
>                 urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>                 vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-238.69508}  (not concave)
Iteration 1:{space 3}log pseudolikelihood = {res:-214.29789}  (not concave)
Iteration 2:{space 3}log pseudolikelihood = {res:-212.94075}  
Iteration 3:{space 3}log pseudolikelihood = {res:-210.99123}  
Iteration 4:{space 3}log pseudolikelihood = {res:-209.39794}  
Iteration 5:{space 3}log pseudolikelihood = {res:-209.33959}  
Iteration 6:{space 3}log pseudolikelihood = {res:-209.33955}  
Iteration 7:{space 3}log pseudolikelihood = {res:-209.33955}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-209.33955}  
Iteration 1:{space 3}log pseudolikelihood = {res:-183.60095}  
Iteration 2:{space 3}log pseudolikelihood = {res: -180.6655}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-173.48407}  
Iteration 4:{space 3}log pseudolikelihood = {res:-166.66514}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-164.77835}  (not concave)
Iteration 6:{space 3}log pseudolikelihood = {res:-164.18684}  
Iteration 7:{space 3}log pseudolikelihood = {res:-163.86427}  
Iteration 8:{space 3}log pseudolikelihood = {res:-163.74873}  
Iteration 9:{space 3}log pseudolikelihood = {res:-163.71329}  
Iteration 10:{space 2}log pseudolikelihood = {res:-163.66669}  
Iteration 11:{space 2}log pseudolikelihood = {res:-163.65403}  
Iteration 12:{space 2}log pseudolikelihood = {res:-163.63556}  
Iteration 13:{space 2}log pseudolikelihood = {res:-163.62859}  
Iteration 14:{space 2}log pseudolikelihood = {res:-163.62363}  
Iteration 15:{space 2}log pseudolikelihood = {res:-163.62082}  
Iteration 16:{space 2}log pseudolikelihood = {res:-163.61951}  
Iteration 17:{space 2}log pseudolikelihood = {res:-163.61892}  
Iteration 18:{space 2}log pseudolikelihood = {res:-163.61876}  
Iteration 19:{space 2}log pseudolikelihood = {res:-163.61872}  
Iteration 20:{space 2}log pseudolikelihood = {res:-163.61872}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    16,833
                                                {txt}Nonzero obs       = {res}        32
                                                {txt}Zero obs          = {res}    16,801

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res} 111715.89
{txt}Log pseudolikelihood = {res}-163.6187                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         Count3PV{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count3PV          {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} .3869403{col 31}{space 2} .4239301{col 42}{space 1}    0.91{col 51}{space 3}0.361{col 59}{space 4}-.4439475{col 72}{space 3} 1.217828
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0310625{col 31}{space 2} .0094736{col 42}{space 1}    3.28{col 51}{space 3}0.001{col 59}{space 4} .0124946{col 72}{space 3} .0496304
{txt}{space 14}lit {c |}{col 19}{res}{space 2} -.033689{col 31}{space 2} .0212584{col 42}{space 1}   -1.58{col 51}{space 3}0.113{col 59}{space 4}-.0753547{col 72}{space 3} .0079766
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0335436{col 31}{space 2} .0183312{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0023849{col 72}{space 3} .0694722
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0309686{col 31}{space 2} .0145051{col 42}{space 1}   -2.14{col 51}{space 3}0.033{col 59}{space 4} -.059398{col 72}{space 3}-.0025391
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0018595{col 31}{space 2} .0017426{col 42}{space 1}    1.07{col 51}{space 3}0.286{col 59}{space 4} -.001556{col 72}{space 3}  .005275
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.4740267{col 31}{space 2} .5472866{col 42}{space 1}   -0.87{col 51}{space 3}0.386{col 59}{space 4}-1.546689{col 72}{space 3} .5986354
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-21.84189{col 31}{space 2} .3818431{col 42}{space 1}  -57.20{col 51}{space 3}0.000{col 59}{space 4}-22.59029{col 72}{space 3}-21.09349
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-25.45264{col 31}{space 2} .7321732{col 42}{space 1}  -34.76{col 51}{space 3}0.000{col 59}{space 4}-26.88768{col 72}{space 3}-24.01761
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 1.374282{col 31}{space 2} .7902496{col 42}{space 1}    1.74{col 51}{space 3}0.082{col 59}{space 4}-.1745787{col 72}{space 3} 2.923143
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-27.03263{col 31}{space 2} .4859129{col 42}{space 1}  -55.63{col 51}{space 3}0.000{col 59}{space 4}  -27.985{col 72}{space 3}-26.08026
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-28.68318{col 31}{space 2} .5241696{col 42}{space 1}  -54.72{col 51}{space 3}0.000{col 59}{space 4}-29.71053{col 72}{space 3}-27.65582
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-22.24275{col 31}{space 2} .6009549{col 42}{space 1}  -37.01{col 51}{space 3}0.000{col 59}{space 4} -23.4206{col 72}{space 3} -21.0649
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2} .1958352{col 31}{space 2} 1.231061{col 42}{space 1}    0.16{col 51}{space 3}0.874{col 59}{space 4}-2.216999{col 72}{space 3}  2.60867
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2} -25.4604{col 31}{space 2}  .731119{col 42}{space 1}  -34.82{col 51}{space 3}0.000{col 59}{space 4}-26.89337{col 72}{space 3}-24.02743
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-30.57245{col 31}{space 2} .5180037{col 42}{space 1}  -59.02{col 51}{space 3}0.000{col 59}{space 4}-31.58772{col 72}{space 3}-29.55718
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2}-30.61967{col 31}{space 2} .7078723{col 42}{space 1}  -43.26{col 51}{space 3}0.000{col 59}{space 4}-32.00707{col 72}{space 3}-29.23226
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-27.90738{col 31}{space 2} .5119017{col 42}{space 1}  -54.52{col 51}{space 3}0.000{col 59}{space 4}-28.91069{col 72}{space 3}-26.90407
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-29.58769{col 31}{space 2} .4852083{col 42}{space 1}  -60.98{col 51}{space 3}0.000{col 59}{space 4}-30.53868{col 72}{space 3} -28.6367
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-26.38734{col 31}{space 2} .7009064{col 42}{space 1}  -37.65{col 51}{space 3}0.000{col 59}{space 4}-27.76109{col 72}{space 3}-25.01359
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.954379{col 31}{space 2}   .72929{col 42}{space 1}    2.68{col 51}{space 3}0.007{col 59}{space 4} .5249972{col 72}{space 3} 3.383761
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-22.12953{col 31}{space 2}  .486476{col 42}{space 1}  -45.49{col 51}{space 3}0.000{col 59}{space 4}-23.08301{col 72}{space 3}-21.17606
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-31.79915{col 31}{space 2} .5190364{col 42}{space 1}  -61.27{col 51}{space 3}0.000{col 59}{space 4}-32.81644{col 72}{space 3}-30.78186
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-22.04154{col 31}{space 2} .6260812{col 42}{space 1}  -35.21{col 51}{space 3}0.000{col 59}{space 4}-23.26864{col 72}{space 3}-20.81445
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-.1406785{col 31}{space 2} 1.152798{col 42}{space 1}   -0.12{col 51}{space 3}0.903{col 59}{space 4}-2.400121{col 72}{space 3} 2.118764
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-6.151442{col 31}{space 2} .8982426{col 42}{space 1}   -6.85{col 51}{space 3}0.000{col 59}{space 4}-7.911965{col 72}{space 3}-4.390919
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2}-.0000399{col 31}{space 2} .0002902{col 42}{space 1}   -0.14{col 51}{space 3}0.891{col 59}{space 4}-.0006087{col 72}{space 3} .0005288
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}  -11.628{col 31}{space 2} 3.117539{col 42}{space 1}   -3.73{col 51}{space 3}0.000{col 59}{space 4}-17.73826{col 72}{space 3}-5.517735
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 eststo B
{txt}
{com}.                 * Export full table 
.                 esttab A B ///
>                 using "$dir/appendixETable2.rtf", /// 
>                 star(* 0.05 ** 0.01 *** 0.001) ///
>                 title("Table 2. Replication Results Zero-Inflated Poisson (ZIP) Regression, Logit Inflation Model. Restricted Sample.") ///
>                 se scalars(ll N_zero k ic) obslast ///
>                 replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixETable2.rtf"'})

{com}. restore 
{txt}
{com}. 
. * APPENDIX F. Replications with Full Sample (missing observation on Incumbent Vote Share set to 0)
. * Table 1. 
. preserve
{txt}
{com}.         gen nincumb_shr = incumb_vote_shr
{txt}(2,131 missing values generated)

{com}.         replace nincumb_shr = 0 if incumb_vote_shr==.
{txt}(2,131 real changes made)

{com}.         * Model 1
.         xtreg nincumb_shr i.Count2PIntr i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1863                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.1053                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.1123                                        {txt}max = {res}        7

                                                {txt}F({res}8{txt},{res}333{txt})           = {res}   139.28
{txt}corr(u_i, Xb)  = {res}-0.5908                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}       nincumb_shr{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}1.Count2PIntr {c |}{col 20}{res}{space 2}-3.506644{col 32}{space 2} 1.203434{col 43}{space 1}   -2.91{col 52}{space 3}0.004{col 60}{space 4}-5.873935{col 73}{space 3}-1.139353
{txt}{space 2}1.state_ac_align {c |}{col 20}{res}{space 2} 13.94959{col 32}{space 2} .5426231{col 43}{space 1}   25.71{col 52}{space 3}0.000{col 60}{space 4} 12.88219{col 73}{space 3} 15.01699
{txt}{space 1}Margin_Percentage {c |}{col 20}{res}{space 2}-.0247663{col 32}{space 2} .0221783{col 43}{space 1}   -1.12{col 52}{space 3}0.265{col 60}{space 4}-.0683935{col 73}{space 3} .0188608
{txt}{space 15}lit {c |}{col 20}{res}{space 2}  .197859{col 32}{space 2} .0575536{col 43}{space 1}    3.44{col 52}{space 3}0.001{col 60}{space 4} .0846445{col 73}{space 3} .3110735
{txt}{space 15}ele {c |}{col 20}{res}{space 2} .0710925{col 32}{space 2} .0469947{col 43}{space 1}    1.51{col 52}{space 3}0.131{col 60}{space 4}-.0213513{col 73}{space 3} .1635363
{txt}{space 15}urb {c |}{col 20}{res}{space 2} .5236657{col 32}{space 2} .1720628{col 43}{space 1}    3.04{col 52}{space 3}0.003{col 60}{space 4} .1851987{col 73}{space 3} .8621327
{txt}Turnout_Percentage {c |}{col 20}{res}{space 2} .2155959{col 32}{space 2} .0303709{col 43}{space 1}    7.10{col 52}{space 3}0.000{col 60}{space 4} .1558529{col 73}{space 3} .2753389
{txt}{space 3}incumb_vote_lag {c |}{col 20}{res}{space 2} .1584987{col 32}{space 2} .0229691{col 43}{space 1}    6.90{col 52}{space 3}0.000{col 60}{space 4}  .113316{col 73}{space 3} .2036815
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-20.23747{col 32}{space 2} 4.503274{col 43}{space 1}   -4.49{col 52}{space 3}0.000{col 60}{space 4}-29.09592{col 73}{space 3}-11.37902
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} 14.444341
           {txt}sigma_e {c |} {res} 16.574714
               {txt}rho {c |} {res} .43164294{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         xtreg nincumb_shr i.Count2PIntr##i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1867                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.1058                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.1126                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}   124.71
{txt}corr(u_i, Xb)  = {res}-0.5909                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 92:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 27}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 28}{c |}{col 40}    Robust
{col 1}               nincumb_shr{col 28}{c |}      Coef.{col 40}   Std. Err.{col 52}      t{col 60}   P>|t|{col 68}     [95% Con{col 81}f. Interval]
{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}1.Count2PIntr {c |}{col 28}{res}{space 2}-4.157593{col 40}{space 2} 1.312635{col 51}{space 1}   -3.17{col 60}{space 3}0.002{col 68}{space 4}-6.739694{col 81}{space 3}-1.575491
{txt}{space 10}1.state_ac_align {c |}{col 28}{res}{space 2} 13.82086{col 40}{space 2} .5414733{col 51}{space 1}   25.52{col 60}{space 3}0.000{col 68}{space 4} 12.75573{col 81}{space 3}   14.886
{txt}{space 26} {c |}
Count2PIntr#state_ac_align {c |}
{space 22}1 1  {c |}{col 28}{res}{space 2} 5.867871{col 40}{space 2} 2.713378{col 51}{space 1}    2.16{col 60}{space 3}0.031{col 68}{space 4} .5303475{col 81}{space 3} 11.20539
{txt}{space 26} {c |}
{space 9}Margin_Percentage {c |}{col 28}{res}{space 2}-.0248445{col 40}{space 2} .0222037{col 51}{space 1}   -1.12{col 60}{space 3}0.264{col 68}{space 4}-.0685216{col 81}{space 3} .0188326
{txt}{space 23}lit {c |}{col 28}{res}{space 2}  .195567{col 40}{space 2} .0575503{col 51}{space 1}    3.40{col 60}{space 3}0.001{col 68}{space 4}  .082359{col 81}{space 3} .3087749
{txt}{space 23}ele {c |}{col 28}{res}{space 2} .0723669{col 40}{space 2} .0469243{col 51}{space 1}    1.54{col 60}{space 3}0.124{col 68}{space 4}-.0199385{col 81}{space 3} .1646723
{txt}{space 23}urb {c |}{col 28}{res}{space 2} .5231525{col 40}{space 2} .1719406{col 51}{space 1}    3.04{col 60}{space 3}0.003{col 68}{space 4} .1849259{col 81}{space 3} .8613792
{txt}{space 8}Turnout_Percentage {c |}{col 28}{res}{space 2} .2164554{col 40}{space 2} .0303699{col 51}{space 1}    7.13{col 60}{space 3}0.000{col 68}{space 4} .1567144{col 81}{space 3} .2761964
{txt}{space 11}incumb_vote_lag {c |}{col 28}{res}{space 2} .1584436{col 40}{space 2} .0229989{col 51}{space 1}    6.89{col 60}{space 3}0.000{col 68}{space 4} .1132021{col 81}{space 3} .2036852
{txt}{space 21}_cons {c |}{col 28}{res}{space 2}-20.19954{col 40}{space 2} 4.504684{col 51}{space 1}   -4.48{col 60}{space 3}0.000{col 68}{space 4}-29.06076{col 81}{space 3}-11.33831
{txt}{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                   sigma_u {c |} {res} 14.442863
                   {txt}sigma_e {c |} {res}  16.57195
                       {txt}rho {c |} {res} .43167456{txt}   (fraction of variance due to u_i)
{hline 27}{c BT}{hline 64}

{com}.         eststo B
{txt}
{com}.         * Export full table 
.         esttab A B ///
>         using "$dir/appendixFtable1.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 1. Replication Results Fixed Effects Analysis, Dependent Variable: Incumbent Vote Share (%). Full Sample.") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/appendixFtable1.rtf"'})

{com}. restore 
{txt}
{com}. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\richetta\Dropbox\Violence in India\Drafts\Causal Paper\BJPS Submission\Revision 2\replication material\log-appendix-tables.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}13 Jun 2022, 08:18:30
{txt}{.-}
{smcl}
{txt}{sf}{ul off}